package com.webdesign.service;

import java.io.IOException;
import java.util.List;

import javax.mail.MessagingException;
import javax.mail.internet.AddressException;

import com.webdesign.entity.TbTeacher;

public interface ITbTeacherService {

	/*
	 *（clover 4.11） 教师登录
	 */
	public abstract TbTeacher login(String userid,String password);
	/*
	 * (clover 4.11)教师修改密码
	 */
	public abstract TbTeacher rewrite(String userid,String password,String newpwd);
	
	/*
	 * 教师注册
	 */
	public abstract boolean register(String userid,String username,String password,String email);
	/*
	 * 显示未审核教师
	 */
	public abstract List<TbTeacher> showteacher(); 
	
	/*
	 * 重置教师密码页面显示
	 */
	public abstract List<TbTeacher> resetTeachersPwdShow();
	
	/*
	 * 重置教师密码
	 */
	public abstract Boolean resetTeacherPwd(String[] teacherid);

	/*
	 * 审核教师
	 */
	public abstract void checkTeacher(String teacherid);
	/*
	 * 删除教师
	 */
	public abstract Boolean deleteTeacher(String teacherid);

	/*
	 * 显示审核教师
	 */
	public abstract List<TbTeacher> showPassTeacher();
}
